<template>
	<view class="home">
		<!--  -->
		<custom-navbar></custom-navbar>
		<!--  -->
		<fullscreen-banner></fullscreen-banner>
		<!--  -->
		<scroll-swiper :height="360"></scroll-swiper>
		<!--  -->
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
		<!-- fab -->
		<float-action-button></float-action-button>
	</view>
</template>

<script>
	import CustomNavbar from './components/CustomNavbar/index.vue';
	import FloatActionButton from './components/FloatActionButton/default.vue';
	import FullscreenBanner from './components/FullscreenBanner/index.vue';
	import ScrollSwiper from './components/ScrollSwiper/index.vue';

	export default {
		components: {
			CustomNavbar,
			FloatActionButton,
			FullscreenBanner,
			ScrollSwiper
		},
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.home {
		min-height: 100vh;
	}
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
		height: 200vh;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
